package com.detech.sboh.base.domain;

import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
import org.springframework.lang.Nullable;
import org.springframework.util.MultiValueMap;

import java.io.Serializable;

//统一返回实体类
public class RE<T> extends ResponseEntity<Message<T>> implements Serializable {

    public RE(){super();}

    public RE(@Nullable Message<T> body, HttpStatus status) {
        super(body, (MultiValueMap)null, (HttpStatus)status);
    }
}
